home *** CD-ROM | disk | FTP | other *** search
/ The College Handbook 1992 / The College Handbook 1992 CD-ROM Edition - Nimbus.ISO / batchin.bat < prev    next >
Encoding:
DOS Batch File  |  1992-03-03  |  2.0 KB  |  66 lines

  1. ECHO OFF
  2. IF x==%1x GOTO 1ERROR
  3. IF x==%2x GOTO 2ERROR
  4. IF x==%3x GOTO 2ERROR
  5. ECHO ON
  6. MD %2:\HANDBOOK
  7. ECHO OFF
  8. ECHO .
  9. ECHO .
  10. ECHO Please make sure that the College Handbook CD ROM is in the CD ROM drive.
  11. PAUSE
  12. ECHO ON
  13. COPY %3:\*.DAT %2:\HANDBOOK
  14. COPY %3:\*.TXT %2:\HANDBOOK
  15. COPY %3:\DINXCE92.NDX %2:\HANDBOOK
  16. COPY %3:\HANDBOOK.EXE %2:\HANDBOOK
  17. COPY %3:\LISTCE92.LST %2:\HANDBOOK
  18. %1:\FMAKE %1:PREFS.TPL %2:\HANDBOOK\PREFS.TXT %1 %2 %3 HANDBOOK
  19. ECHO OFF
  20. ECHO .
  21. ECHO .
  22. ECHO Batch Installation complete...
  23. PAUSE 
  24. GOTO END
  25. :1ERROR
  26. ECHO OFF
  27. ECHO The BATCHIN batch file takes three paramaters in order
  28. ECHO to work properly. With these parameters the BATCHIN batch
  29. ECHO file can install the College Handbook software  on any drive, and use
  30. ECHO a CD ROM drive with any letter. The proper syntax to run this
  31. ECHO batch file is as follows:
  32. ECHO .   
  33. ECHO        BATCHIN x y z 
  34. ECHO .     
  35. ECHO Where:
  36. ECHO         x  is the drive letter for the drive that the 
  37. ECHO            Installation Program is on (which should be the CD)
  38. ECHO .      
  39. ECHO         y  is the drive letter for the drive that the
  40. ECHO            software is to be installed on
  41. ECHO .   
  42. ECHO         z  is the drive letter of the CD ROM drive
  43. ECHO .    
  44. ECHO PLEASE NOTE:  This batch installation process will make no checks
  45. ECHO               to verify that a drive is a CD ROM drive or any other
  46. ECHO               checks to make sure your parameters are valid.
  47. ECHO .    
  48. GOTO END
  49. :2ERROR
  50. ECHO You have not supplied enough parameters.
  51. ECHO Three parameters are required to run this batch file.
  52. ECHO The proper syntax to run this batch file is as follows:
  53. ECHO .   
  54. ECHO        BATCHIN x y z 
  55. ECHO .     
  56. ECHO Where:
  57. ECHO         x  is the drive letter for the drive that the 
  58. ECHO            Installation program is on (Which should be the CD)
  59. ECHO .      
  60. ECHO         y  is the drive letter for the drive that the
  61. ECHO            software is to be installed on
  62. ECHO .   
  63. ECHO         z  is the drive letter of the CD ROM drive
  64. ECHO .    
  65. :END
  66. ECHO ON